#ifndef EDGEFITTING_H
#define EDGEFITTING_H
#include <QObject>
#include "scvision.h"
#include "AVL.h"
#include "STD.h"

static QHash<QString, atl::Conditional< avl::SegmentFittingField >> segmentFittingFieldHashMap;
static QHash<QString, atl::Conditional< avl::GrayModel >> grayModelHashMap;
static QHash<QString, atl::Conditional< avl::Vector2D >> vector2DHashMap;
static QHash<QString, avl::Region> regionHashMap;

class EdgeFitting
{
public:
    EdgeFitting();
    static bool PR_Edge_Fitting(QImage image,
                                QImage &resultImage,
                                QString pr_name,
                                PRResultStruct &prResult,
                                QVariantMap args,
                                PRResultImageInfo &prResultImageInfo);

};

#endif // EDGEFITTING_H
